projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
379a846
)
Use the correct background color when filling nested <divs>
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 29 Feb 2016 11:21:11 +0000
(22:21 +1100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 29 Feb 2016 11:21:11 +0000
(22:21 +1100)
* lisp/net/shr.el (shr-face-background): Return the first
background, because that's the one that's visible (bug#22680).
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index 63e02d988ef0dbf43e6693672474685ab45ffb48..fc6fca7060e129d57bb0657acd243a563ecf069c 100644
(file)
--- a/
lisp/net/shr.el
+++ b/
lisp/net/shr.el
@@
-1911,7
+1911,8
@@
The preference is a float determined from `shr-prefer-media-type'."
(let ((background nil))
(dolist (elem face)
(when (and (consp elem)
- (eq (car elem) :background))
+ (eq (car elem) :background)
+ (not background))
(setq background (cadr elem))))
(and background
(list :background background))))))